{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 创建项目 \n",
    "scrapy startproject [project name]\n",
    "project name 项目名称\n",
    "\n",
    "## 创建爬虫\n",
    "scrapy genspider [spider name] [domain]\n",
    "spider name 爬虫名称\n",
    "domain 域名\n",
    "\n",
    "例：scrapy genspider ganji ganji.com"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## scrapy 命令\n",
    "scrapy list 列出当前项目中的爬虫\n",
    "scrapy crawl ganji 启动爬虫，爬虫名称：ganji"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
